package com.dt.dubai.sys.entity;

import com.dt.dubai.core.comm.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.*;

import javax.persistence.Table;
import javax.validation.constraints.*;


/*
 * 临时文件列表
 */

@Data
@Table(name = "dt_sys_temp_file")
@EqualsAndHashCode(callSuper = false)
public class SysTempFileEntity extends BaseEntity {

    //用户文档名称
    @NotNull(message = "userFileName参数不能为空")
    @Length(min = 0, max = 60, message = "userFileName参数最大长度不60")
    String userFileName;

    //系统存储名称
    @Length(min = 0, max = 60, message = "sysStorageName参数最大长度不60")
    String sysStorageName;

    //系统存储路径
    @Length(min = 0, max = 120, message = "sysStoragePath参数最大长度不120")
    String sysStoragePath;


}
